#version 110

uniform mat4 mat_proj;
uniform mat4 mat_view;
uniform mat4 mat_world;


attribute vec4 vertex;
attribute vec3 normal;
attribute vec2 tex_coord0;


varying vec4 lVertex;
varying vec3 lNormal;
varying vec2 fTexCoord0;
                             

void main ()
{
  gl_Position = mat_proj * mat_view * mat_world * vertex;

  lVertex = vertex;
  lNormal = normal;
  fTexCoord0 = tex_coord0;
}


